<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>

<!DOCTYPE html>

<html>
<head>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	
	<jsp:include page="/core/tool/resources.jsp"></jsp:include>
	<script src="./manage.js"></script>
	<script src="../../smdc/security/secselect.js"></script>

</head>

<body>

	<div id="toolbar" style="margin-bottom:5px">
		<a href="#" class="easyui-linkbutton" iconCls="icon-add" onclick="click_new()">新建</a>
		<br/>
		<form id="search_param">
			代码: <input id="search_secId" name="secId"/>
			市场: <input name="exchange" class="easyui-combobox" 	data-options="flexset:'SMDC_EXCHANGE'"/>
			类别: <input name="secType" class="easyui-combobox" data-options="flexset:'SMDC_SECURITY_TYPE'"/>
			基金类型:<input class="easyui-combobox" name="fundCategory" data-options="flexset:'SMDC_FUND_CATEGROY'"/>
			<a href="#" class="easyui-linkbutton" iconCls="icon-search" onclick="click_search()">Search</a>
		</form>
	</div>

	<table id="dg" class="easyui-edatagrid"
		data-options="toolbar:'#toolbar', singleSelect:true, collapsible:true, rownumbers:true, fit:true,
				 	sortOrder:'asc', sortName:'secId', pagination:true, pageSize:20,
				 	url:'./page.json'
			">
		<thead>
			<tr>
				<th data-options="field:'secId',width:80,sortable:true">代码</th>
				<th data-options="field:'secName',width:80,sortable:true">名称</th>
				<th data-options="field:'exchange',width:80, formconfig:{type:'combobox',options:{flexset:'SMDC_EXCHANGE'}}">市场</th>
				<th data-options="field:'secType',width:60, formconfig:{type:'combobox',options:{flexset:'SMDC_SECURITY_TYPE'}}">类别</th>
				<th data-options="field:'fundCategory',width:80, formconfig:{type:'combobox',options:{flexset:'SMDC_FUND_CATEGROY'}}">基金类型</th>
				<th data-options="field:'fundBaseindex',width:80,sortable:true">跟踪指数</th>
				<th data-options="field:'listDate',width:100, editor:'datebox',sortable:true">上市日期</th>
				<th data-options="field:'dlistDate',width:100, editor:'datebox',sortable:true">退市日期</th>
				<th data-options="field:'delete',width:80, formconfig:{type:'linkbutton',onclick:'click_row_delete()',options:{iconCls:'icon-remove',text:'删除'}}">删除</th>
				<th data-options="field:'edit',width:80, formconfig:{type:'linkbutton',onclick:'click_row_edit()',options:{iconCls:'icon-edit',text:'编辑'}}">编辑</th>
			</tr>
		</thead>
	</table>
</body>
</html>
